package com.example.rg.generator.service;

import com.example.rg.generator.DTO.DishDto;
import com.example.rg.generator.domain.Dish;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author DABB
 * @description 针对表【dish(菜品管理)】的数据库操作Service
 * @createDate 2023-04-28 09:43:31
 */
public interface DishService extends IService<Dish> {
//新增菜品，同时插入菜品的口味数据
    public void saveWithFlavor(DishDto dishDto);

    DishDto getWithFlavor(Long id);

    void updateWithFlavor(DishDto dishDto);
}
